class CreateGuildranks < ActiveRecord::Migration
  def self.up
    create_table :guildranks do |t|
      t.column :name, :string
      t.column :rank, :integer, :null => false
    end

    Guildrank.create :name=>"default", :rank=>0
    
  end

  def self.down
    drop_table :guildranks
  end
end
